Skip to content

Conversation

@chungjac
Copy link
Contributor

@chungjac chungjac commented Oct 13, 2025

Problem

AWS SDK V2 is at EOL. All client should migrate to V3.

  • AWSError does not exist in v2 anymore

Solution

Migrate to ServiceException


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@chungjac chungjac changed the title refactor(AWSError): migrate AWSError to ServiceException part 1 refactor(awserror): migrate AWSError to ServiceException part 1 Oct 13, 2025
@chungjac chungjac closed this Oct 13, 2025
@chungjac chungjac reopened this Oct 13, 2025
@chungjac chungjac marked this pull request as ready for review October 13, 2025 05:08
@chungjac chungjac requested a review from a team as a code owner October 13, 2025 05:08
@chungjac chungjac merged commit b685471 into aws:feature/v2-to-v3-migration Oct 13, 2025
22 checks passed
chungjac added a commit that referenced this pull request Oct 21, 2025
## Note
**There is still a little bit more work needed for fully migrating
aws-sdk v2 to v3, specifically all of these clients
[here](https://github.com/aws/aws-toolkit-vscode/blob/59fd17fcfa22798e78d0df196290edb4a070f7ec/packages/core/scripts/build/generateServiceClient.ts#L232-L251)
from the `generateServiceClient.ts` script**


## Problem
AWS SDK V2 is at EOL

## Solution
Migrate AWS SDK V2 to V3

This work has been done in the `feature/v2-to-v3-migration` feature
branch and thus merging it into `master`

Here are the PRs, which this does not include the merges from main and
resolving conflicts:
- #8043
- #8042
- #8046
- #8054
- #8041
- #8056
- #8081
- #8069
- #8067
- #8093
- #8095
- #8094
- #8171
- #8159
- #8175
- #8182



## Testing
Manually tested the [prerelease
builds](https://github.com/aws/aws-toolkit-vscode/releases/tag/pre-v2-to-v3-migration)


https://github.com/user-attachments/assets/b1d4795c-4027-462e-a195-509ac4a9d8ae


---

- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.

---------

Co-authored-by: aws-toolkit-automation <[email protected]>
Co-authored-by: Tai Lai <[email protected]>
Co-authored-by: invictus <[email protected]>
Co-authored-by: Laxman Reddy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants